package com.yy.web.pm.alarm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 告警数据表
 */
@ApiModel(description = "告警数据表")

public class AlarmDate implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 告警编号
     */
    @ApiModelProperty(value = "告警编号")
    private String alarmNumber;

    /**
     * 告警上报人员
     */
    @ApiModelProperty(value = "告警上报人员")
    private String alarmPeople;

    /**
     * 告警地址
     */
    @ApiModelProperty(value = "告警地址")
    private String alarmAddress;

    /**
     * 告警时间
     */
    @ApiModelProperty(value = "告警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String alarmNotes;

    /**
     * 告警类别
     */
    @ApiModelProperty(value = "告警类别")
    private String alarmType;

    /**
     * 告警图片
     */
    @ApiModelProperty(value = "告警图片")
    private List<String> image;

    private String alarmImage;

    /**
     * 处理状态 0:未处理 1：存在安全隐患2：已取消 3 巡检员已经巡检 4:整改 5:拆除 6整改完成 -1已结束
     */
    @ApiModelProperty(value = "处理状态 0:未处理 1：存在安全隐患2：已取消 3 巡检员已经巡检 4:整改 5:拆除 6整改完成 -1已结束")
    private String alarmState;

    /**
     * 巡检人id
     */
    @ApiModelProperty(value = "巡检人id")
    private String patrolId;

    /**
     * 告警数据
     */
    @ApiModelProperty(value = "告警数据 ")
    private String candidate;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    private Date createdTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    private Date updatedTime;

    /**
     * 告警级别
     */
    @ApiModelProperty(value = "告警级别")
    private String alarmLevel;

    /**
     * 审核级别
     */
    @ApiModelProperty(value = "审核级别")
    private String examineLevel;

    /**
     * 商家id
     */
    @ApiModelProperty(value = "商家id")
    private Integer shopId;

    /**
     * 告警店名
     */
    @ApiModelProperty(value = "告警店名")
    private String alarmShop;

    /**
     * 告警数据状态 0:待处理 1:已处理 2:已取消
     */
    @ApiModelProperty(value = "告警数据状态 0:待处理 1:已处理 2:已取消")
    private String alarmExaim;

    public List<String> getImage() {
        return image;
    }

    public AlarmDate setImage(List<String> image) {
        this.image = image;
        return this;
    }

    private static final long serialVersionUID = 1L;

    public AlarmDate(Integer id, String alarmNumber, String alarmPeople, String alarmAddress, Date alarmTime, String alarmNotes, String alarmType, String alarmImage, String alarmState, String patrolId, String candidate, String createdBy, Date createdTime, String updatedBy, Date updatedTime, String alarmLevel, String examineLevel, Integer shopId, String alarmShop, String alarmExaim) {
        this.id = id;
        this.alarmNumber = alarmNumber;
        this.alarmPeople = alarmPeople;
        this.alarmAddress = alarmAddress;
        this.alarmTime = alarmTime;
        this.alarmNotes = alarmNotes;
        this.alarmType = alarmType;
        this.alarmImage = alarmImage;
        this.alarmState = alarmState;
        this.patrolId = patrolId;
        this.candidate = candidate;
        this.createdBy = createdBy;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.updatedTime = updatedTime;
        this.alarmLevel = alarmLevel;
        this.examineLevel = examineLevel;
        this.shopId = shopId;
        this.alarmShop = alarmShop;
        this.alarmExaim = alarmExaim;
    }

    public AlarmDate() {
    }

    public Integer getId() {
        return id;
    }

    public AlarmDate setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getAlarmNumber() {
        return alarmNumber;
    }

    public AlarmDate setAlarmNumber(String alarmNumber) {
        this.alarmNumber = alarmNumber;
        return this;
    }

    public String getAlarmPeople() {
        return alarmPeople;
    }

    public AlarmDate setAlarmPeople(String alarmPeople) {
        this.alarmPeople = alarmPeople;
        return this;
    }

    public String getAlarmAddress() {
        return alarmAddress;
    }

    public AlarmDate setAlarmAddress(String alarmAddress) {
        this.alarmAddress = alarmAddress;
        return this;
    }

    public Date getAlarmTime() {
        return alarmTime;
    }

    public AlarmDate setAlarmTime(Date alarmTime) {
        this.alarmTime = alarmTime;
        return this;
    }

    public String getAlarmNotes() {
        return alarmNotes;
    }

    public AlarmDate setAlarmNotes(String alarmNotes) {
        this.alarmNotes = alarmNotes;
        return this;
    }

    public String getAlarmType() {
        return alarmType;
    }

    public AlarmDate setAlarmType(String alarmType) {
        this.alarmType = alarmType;
        return this;
    }

    public String getAlarmImage() {
        return alarmImage;
    }

    public AlarmDate setAlarmImage(String alarmImage) {
        this.alarmImage = alarmImage;
        return this;
    }

    public String getAlarmState() {
        return alarmState;
    }

    public AlarmDate setAlarmState(String alarmState) {
        this.alarmState = alarmState;
        return this;
    }

    public String getPatrolId() {
        return patrolId;
    }

    public AlarmDate setPatrolId(String patrolId) {
        this.patrolId = patrolId;
        return this;
    }

    public String getCandidate() {
        return candidate;
    }

    public AlarmDate setCandidate(String candidate) {
        this.candidate = candidate;
        return this;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public AlarmDate setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
        return this;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public AlarmDate setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
        return this;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public AlarmDate setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
        return this;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public AlarmDate setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
        return this;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public AlarmDate setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
        return this;
    }

    public String getExamineLevel() {
        return examineLevel;
    }

    public AlarmDate setExamineLevel(String examineLevel) {
        this.examineLevel = examineLevel;
        return this;
    }

    public Integer getShopId() {
        return shopId;
    }

    public AlarmDate setShopId(Integer shopId) {
        this.shopId = shopId;
        return this;
    }

    public String getAlarmShop() {
        return alarmShop;
    }

    public AlarmDate setAlarmShop(String alarmShop) {
        this.alarmShop = alarmShop;
        return this;
    }

    public String getAlarmExaim() {
        return alarmExaim;
    }

    public AlarmDate setAlarmExaim(String alarmExaim) {
        this.alarmExaim = alarmExaim;
        return this;
    }
}
